﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DrawDetails.ascx.cs" Inherits="BigLotterySyndicate.Secured.Draws.Controls.DrawDetails" %>
<%@ Register TagPrefix="Syndicate" TagName="TabGeneral" Src="~/Secured/Draws/Controls/TabGeneral.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabLines" Src="~/Secured/Draws/Controls/TabLines.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabLinesEuro" Src="~/Secured/Draws/Controls/TabLinesEuro.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabLinesHealth" Src="~/Secured/Draws/Controls/TabLinesHealth.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabAddLine" Src="~/Secured/Draws/Controls/TabAddLine.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabAddLineEuro" Src="~/Secured/Draws/Controls/TabAddLineEuro.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabAddLineHealth" Src="~/Secured/Draws/Controls/TabAddLineHealth.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabPlayers" Src="~/Secured/Draws/Controls/TabPlayers.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabAddPlayer" Src="~/Secured/Draws/Controls/TabAddPlayer.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="AddLineFromLastDraw" Src="~/Secured/Draws/Controls/AddLineFromLastDraw.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="TabAddFreePlayer" Src="~/Secured/Draws/Controls/TabAddFreePlayer.ascx" %>

<div class="breadcrumb">
<a href="/Secured/Default.aspx?Ns=0">Home</a> / <a href="/Secured/Draws/Default.aspx?Ns=2">Manage draws</a> /  <b><%= PrintDrawType()%>, <%= PrintDrawDate() %></b>
</div>
 <ul class="TabList" style="padding-left:0;float:left;width:100%">
    <li class="TabListItem TabListFirstItem <%= this.PrintClassIfSelected(Tab.General, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=1">General</a></li>    
    <li class="TabListItem <%= this.PrintClassIfSelected(Tab.Lines, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=2">Lines</a></li>
    <asp:PlaceHolder ID="PlaceHolderAddLine" runat="server" Visible="false">
    <li class="TabListItem <%= this.PrintClassIfSelected(Tab.AddLine, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=3">Add new line</a></li>
    </asp:PlaceHolder>
    <asp:PlaceHolder ID="PlaceHolderAddOldLines" runat="server" Visible="false">
    <li class="TabListItem <%= this.PrintClassIfSelected(Tab.AddOldLines, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=6">Add lines from previous draw</a></li>
    </asp:PlaceHolder>
    <li class="TabListItem <%= this.PrintClassIfSelected(Tab.Players, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=4">Players</a></li>
    <asp:PlaceHolder ID="PlaceHolderAddPlayer" runat="server" Visible="false">
    <li class="TabListItem <%= this.PrintClassIfSelected(Tab.AddPlayer, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=5">Add player</a></li>
    </asp:PlaceHolder>
     <asp:PlaceHolder ID="PlaceHolderAddFreePlayer" runat="server" Visible="false">
    <li class="TabListItem <%= this.PrintClassIfSelected(Tab.AddFreePlayer, "selected") %>" ><a href="/Secured/Draws/?dId=<%= PrintDrawId() %>&Tab=7">Add free player</a></li>
    </asp:PlaceHolder>
 </ul>
 <div class="content-wrapper">
 <asp:MultiView ID="MultiViewDetails" runat="server">
    <asp:View ID="Tab1" runat="server">
         <Syndicate:TabGeneral ID="TabGeneral" runat="server" />      
    </asp:View>
    <asp:View ID="Tab2" runat="server">
       <Syndicate:TabLines ID="TabLines" runat="server" />  
       <Syndicate:TabLinesEuro ID="TabLinesEuro" runat="server" />  
        <Syndicate:TabLinesHealth ID="TabLinesHealth" runat="server" /> 
    </asp:View>
    <asp:View ID="Tab3" runat="server">
        <Syndicate:TabAddLine ID="TabAddLine" runat="server" />  
        <Syndicate:TabAddLineEuro ID="TabAddLineEuro" runat="server" />  
        <Syndicate:TabAddLineHealth ID="TabAddLineHealth" runat="server" />  
    </asp:View> 
    <asp:View ID="Tab4" runat="server">
        <Syndicate:TabPlayers ID="TabPlayers" runat="server" />   
    </asp:View>   
    <asp:View ID="Tab5" runat="server">
        <Syndicate:TabAddPlayer ID="TabAddPlayer" runat="server" />   
    </asp:View>   
     <asp:View ID="Tab6" runat="server">
        <Syndicate:AddLineFromLastDraw ID="AddLineFromLastDraw" runat="server" />   
    </asp:View>
     <asp:View ID="Tab7" runat="server">
        <Syndicate:TabAddFreePlayer ID="TabAddFreePlayer" runat="server" />   
    </asp:View>         
    </asp:MultiView>
</div>

